/*
 * @Author: zehao.chen
 * @Date: 2022-07-10 11:03:30
 * @LastEditors: zehao.chen
 * @LastEditTime: 2022-09-02 21:41:32
 * @FilePath: /meeting-admin/src/router/page/platformAuth.js
 * @Description:
 *
 */
/* Layout */
import Layout from '@/layout'
const platformAuth = [
  {
    path: '/platformAuth',
    component: Layout,
    alwaysShow: true,
    redirect: '/platformAuth/roleManager',
    name: 'platformAuth',
    roles: ['system:page'],
    meta: { title: '管理中心', roles: ['system:page'], icon: 'manager' },
    children: [
      {
        path: 'roleManager',
        component: () => import('@/views/platformAuth/role'),
        name: 'platformAuthRole',
        meta: { title: '角色管理', roles: ['system:page'], icon: 'role' }
      },

      {
        path: 'usersManager',
        component: () => import('@/views/platformAuth/users'),
        name: 'platformAuthUsers',
        meta: { title: '人员管理', roles: ['system:page'], icon: 'user' }
      },

      {
        path: 'registerManager',
        component: () => import('@/views/register/index'),
        name: 'registerManager',
        meta: { title: '授权管理', roles: ['system:page'], icon: 'empower' }
      },

      {
        path: 'managerCenter',
        component: () => import('@/views/platformAuth/managerCenter.vue'),
        name: 'managerCenter',
        meta: { title: '全局设置', roles: ['system:page'], icon: 'manager_line' }
      },

      {
        path: 'sendFileManager',
        component: () => import('@/views/platformAuth/sendFileManager.vue'),
        name: 'sendFileManager',
        meta: { title: '文件分发设置', roles: ['system:page'], icon: 'manager_line' }
      },
    ]
  },

]

export { platformAuth }
